import utils from '../../utils/utils'
Page({
 data:{
   notifyList:[]
 },
 onLoad(){
 this.getNotifyList()
 },
//  请求数据
async getNotifyList(){
  const {code,data:notifyList}=await wx.http.get('/announcement')
  if(code !==10000) return wx.utils.toast()
  this.setData({notifyList})
},
})
